package zsj.androidknife.utils;

/**
 * Created by asus on 2016/4/23.
 */
public abstract class SimpleBackgroundAction
{
    private boolean canceled;

    public abstract void doInBackground();
    public void cancel(boolean b)
    {
        canceled = b;
    }
    public boolean isCanceled()
    {
        return canceled;
    }
}
